<template>
  <div class="not-found-container">
    <fs-image class="not-found-container__img" src="http://pic.fasyncsy.com.cn/coverPic/about.jpg" />
    <div class="not-found-container__content" @click="$router.push('/home')" title="返回首页">
      <h1>404 NOT FOUND</h1>
    </div>
  </div>
</template>

<script setup lang="ts">
import FsImage from "@/components/FsImage/FsImage.vue";
</script>

<style scoped lang="less">
.not-found-container {
  position: relative;
  width: 100%;
  height: 100%;

  &__img {
    width: 100%;
    height: 100%;
    filter: blur(3px);
  }
  &__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    h1 {
      font-size: 100px;
      font-weight: 900;
      color: #2c3e5036;
      font-family: Impact, Haettenschweiler, Arial Narrow Bold, sans-serif;
      background-image: url();
      animation: roll 15s infinite;
      margin: 0;
      text-shadow: 5px 5px 10px rgb(0 0 0 / 40%);
      cursor: pointer;
    }
  }
}

@keyframes roll {
  0% {
    background-position: left 0 top 0;
  }
  100% {
    background-position: left 410px top 0;
  }
}
</style>
